import { userGlobalRoute } from './user-route';
import { ViewRoute } from './view-route';

//  全局路由 404 500 login
const GlobalRoute = [...userGlobalRoute];

const RootRoute = [
	{
		path: '/',
		redirect: '/index',
		meta: {
			title: 'Index',
		},
	},
];

export const basicRoutes = [...RootRoute, ...ViewRoute, ...GlobalRoute];
